package com.example.interview.bean.vo;

/**
 * @author ：superdyf
 * @date ：Created in 2021/10/8 14:03
 * @description：
 * @modified By：
 */
public class City implements Cloneable{
    private Integer cityId;
    private Name name;
    @Override
    public City clone() throws CloneNotSupportedException {
        City c=(City) super.clone();
        c.name=name.clone();
        return c;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Name getName() {
        return name;
    }

    public void setName(Name name) {
        this.name = name;
    }
}
